# 备注：红球一共6组，每组从1-33中抽取一个，六个互相不重复。然后蓝球是从1-16中抽取一个数字，这整个组成的双色球


import random

def ball():
    r_list = []
    i = 0
    while i < 6:
        red_ball = random.randint(1, 33)
        if red_ball not in r_list:
            r_list.append(red_ball)
            i += 1

    blue_ball = random.randint(1, 16)
    r_list.append(blue_ball)
    print(r_list, end=' ')


n = input('请输入所需双色球组数：')
for j in range(0, int(n)):
    ball()






